/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.avu.tp.assign2.question3.dip.conforms.config;

import com.avu.tp.assign2.question3.dip.conforms.Employee;
import com.avu.tp.assign2.question3.dip.conforms.Worker;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;

/**
 *
 * @author Malotana
 */
@Configurable
public class AppConfig {
    @Bean(name="dip")
    public Employee emp(){
        return new Worker();
    }
}